import request from '@/utils/request'

export function getList(data) {
  return request({
    url: `/walk/find?pageSize=${data.pageSize}&pageNum=${data.pageNum}&userId=${data.userId}&step=${data.step}&startDate=${data.times}&endDate=${data.times[1]}}`,
    method: 'get',
  })
}
export function add(data) {
  return request({
    url: 'build/list',
    method: 'post',
    data: data,
  })
}
